<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="UTF-8" />
<meta content="True" name="HandheldFriendly" />
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0; name='viewport'" />
<title><s:text name="siteName"/></title>
<link rel="stylesheet" type="text/css" media="screen"  href="<%=request.getContextPath()%>/template/default/style.css" />
</head>
<body>
<%@ include file="_top.jsp" %>
<div id="Wrapper">
  <div id="Main">
    <div id="Sidebar"> </div>
    <div id="Rightbar">
      <div class="box">
        <div class="cell"> <strong><s:text name="siteName"/></strong>
          <div class="sep5"></div>
          <span class="fade"><s:text name="siteDescription"/></span> </div>
        <div class="inner">
          <div class="sep5"></div>
          <div align="center"><a href="<%=request.getContextPath()%>/signup" class="super normal button">现在注册</a>
            <div class="sep5"></div>
            <div class="sep10"></div>
            已注册用户请 <a href="<%=request.getContextPath()%>/signin">登入</a></div>
        </div>
      </div>
      <div class="sep20"></div>
      <div class="box">
        <div class="cell"> <span class="fade">社区运行状态</span> </div>
        <div class="inner">
          <table cellpadding="3" cellspacing="0" border="0" width="100%">
            <tr>
              <td align="right" width="40%"><span class="fade">注册会员总数</span></td>
              <td align="left"><strong>16774</strong></td>
            </tr>
            <tr>
              <td align="right" width="40%"><span class="fade">主题总数</span></td>
              <td align="left"><strong>26807</strong></td>
            </tr>
            <tr>
              <td align="right" width="40%"><span class="fade">回复总数</span></td>
              <td align="left"><strong>230795</strong></td>
            </tr>
          </table>
        </div>
      </div>
      <div class="sep20"></div>
    </div>
    <div id="Content">
      <div class="box" id="topics_index">
        <div class="cell" align="left">
          <div class="fr"><span class="fade" style="font-size: 110%;">创意 <span class="snow">&nbsp;•&nbsp;</span> 商业 <span class="snow">&nbsp;•&nbsp;</span> 技术 <span class="snow">&nbsp;•&nbsp;</span> 生活</span></div>
          <span class="bigger">Welcome to <strong><s:text name="siteName"/></strong></span>
          <div class="sep10"></div>
        </div>
        <s:iterator value="model">
        <div class="cell from_16770">
          <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
              <td valign="top" class="avatar"><a href="#"><img src="<%=request.getContextPath()%>/template/default/images/gravatar_default.jpg" border="0" width="48" height="48"/></a></td>
              <td style="padding-left: 12px" valign="top"><div class="fr"> <s:if test='commentCount!="0"'><a href="<%=request.getContextPath()%>/topic/<s:property value='id'/>#reply<s:property value='commentCount'/>" class="count_livid"><s:property value='commentCount'/></a></s:if> </div>
                <div class="sep3"></div>
                <span class="bigger" style="font-size: 16px; line-height: 130%"><a href="<%=request.getContextPath()%>/topic/<s:property value='id'/>#reply<s:property value='commentCount'/>"><s:property value="title"/></a></span>
                <div class="sep5"></div>
                <span class="created">
                  <strong><a href="<%=request.getContextPath()%>/node/<s:property value='node.alias'/>" class="node"><s:property value="node.name"/></a></strong> &nbsp;•&nbsp; 
                  <strong><a href="<%=request.getContextPath()%>/member/<s:property value='user.alias'/>" class="dark"><s:property value='user.displayName'/></a></strong> &nbsp;•&nbsp; 
                  <s:property value='wordCount'/> 个字符 &nbsp;•&nbsp; 
                  <s:property value='clickCount'/> 次点击 &nbsp;•&nbsp; 
                  <s:property value='lastCommentTime'/> replied by <a href="<%=request.getContextPath()%>/member/<s:property value='lastCommentUser.loginName'/>" class="dark"><s:property value='lastCommentUser.displayName'/></a>
                </span>
              </td>
            </tr>
          </table>
        </div>
        </s:iterator>
        <div class="inner"> <span class="chevron">»</span> <a href="<%=request.getContextPath()%>/topic/new">新主题</a> </div>
      </div>
      <div class="sep20"></div>
    </div>
    <div class="c"></div>
  </div>
</div>
<%@ include file="_bottom.jsp" %>
</body>
</html>
